package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.data.request.ReqClassesList;
import com.example.entity.Classes;
import com.example.utils.R;

/**
 * Author:yanghua
 * Date:2023/10/7 10:05
 */
public interface ClassesService extends IService<Classes> {
    /**
     * 添加班级信息
     * @param classes
     * @return
     */
    R addOneClass(Classes classes);

    /**
     * 分页条件查询
     * @param reqClassesList
     * @return
     */
    R getClassesList(ReqClassesList reqClassesList);

    /**
     * 根据id删除班级
     * @param id
     * @return
     */
    R deleteClassById(Long id);

    /**
     * 修改班级信息
     * @param classes
     * @return
     */
    R updateInfo(Classes classes);
}
